package com.dgut.hello.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @RequestMapping(value = "/", produces = {"application/json;charset=UTF-8"})
    public String index(){
        return "你好，Spring Boot!";
    }
}
